<?php
/**
 * Created by PhpStorm.
 * User: 彭奇
 * Date: 2018/9/24
 * Time: 23:46
 */

include "phone.php";
include "book.php";
$phone=new phone();
$phone->pingpai="华为";
$phone->cd="中国";
$phone->money=4000;
$phone->nums=20;
$phone->name="mate10";
$phone->show();
echo "<br>";
$book=new book();
$book->name="《》";
$book->zuoze="鲁迅";
$book->cb="中华出版社";
$book->money=20;
$book->nums=1;
$book->show();